package com.ten.jinxiancun.entity;

import java.sql.Timestamp;
import java.util.List;

/*
* 模块实体类
* */
public class Menu {

  private Integer id;
  private Integer iFrame;
  private String name;
  private String component;
  private Integer pid;
  private Integer sort;
  private String icon;
  private String path;
  private Integer hidden;
  private java.sql.Timestamp createTime;
  private String permission;
  private Integer type;
  private String deleted;
  private List<Menu> children;

  public Menu() {
  }

  public Menu(Integer id, Integer iFrame, String name, String component, Integer pid, Integer sort, String icon, String path, Integer hidden, Timestamp createTime, String permission, Integer type, String deleted, List<Menu> children) {
    this.id = id;
    this.iFrame = iFrame;
    this.name = name;
    this.component = component;
    this.pid = pid;
    this.sort = sort;
    this.icon = icon;
    this.path = path;
    this.hidden = hidden;
    this.createTime = createTime;
    this.permission = permission;
    this.type = type;
    this.deleted = deleted;
    this.children = children;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public Integer getiFrame() {
    return iFrame;
  }

  public void setiFrame(Integer iFrame) {
    this.iFrame = iFrame;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getComponent() {
    return component;
  }

  public void setComponent(String component) {
    this.component = component;
  }

  public Integer getPid() {
    return pid;
  }

  public void setPid(Integer pid) {
    this.pid = pid;
  }

  public Integer getSort() {
    return sort;
  }

  public void setSort(Integer sort) {
    this.sort = sort;
  }

  public String getIcon() {
    return icon;
  }

  public void setIcon(String icon) {
    this.icon = icon;
  }

  public String getPath() {
    return path;
  }

  public void setPath(String path) {
    this.path = path;
  }

  public Integer getHidden() {
    return hidden;
  }

  public void setHidden(Integer hidden) {
    this.hidden = hidden;
  }

  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }

  public String getPermission() {
    return permission;
  }

  public void setPermission(String permission) {
    this.permission = permission;
  }

  public Integer getType() {
    return type;
  }

  public void setType(Integer type) {
    this.type = type;
  }

  public String getDeleted() {
    return deleted;
  }

  public void setDeleted(String deleted) {
    this.deleted = deleted;
  }

  public List<Menu> getChildren() {
    return children;
  }

  public void setChildren(List<Menu> children) {
    this.children = children;
  }
}
